package com.aaa.system.service;

import com.aaa.entity.Menu;
import com.aaa.vo.Result;

import java.util.List;

/**
 * @program: his-open-parent
 * @description:
 * @author: 闫克起
 * @create: 2023-03-20 10:54
 **/
public interface MenuService {

    public List<Menu> findByUserid(Long userid);

    Result<List<Menu>> getLeftMenu();

    Result<List<Menu>> getAll();

    Result<List<Integer>> findByRoleId(Long roleId);

    Result<String> confirmMenu(Long roleId, Long[] menuIds);
}
